#pragma strict

public var camera1 : Camera;
public var camera2 : Camera;

function Start ()
{
	camera1.enabled = true;
	camera2.enabled = false;
}

function Update ()
{
	if(Input.GetKeyUp("1"))
		{
		camera1.enabled = true;
		camera2.enabled = false;
		}
	if(Input.GetKeyUp("2"))
		{
		camera1.enabled = false;
		camera2.enabled = true;
		}
}